package io.renren.modules.yst.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.sys.entity.SysUserEntity;
import io.renren.modules.yst.entity.WorkerCardEntity;
import io.renren.modules.yst.entity.WorkerEntity;

import java.util.List;
import java.util.Map;

/**
 * 司机工作卡
 *
 * @author lazyrm
 * @email lazyrm0720@gmail.com
 * @date 2022-01-07 21:01:23
 */
public interface WorkerCardService extends IService<WorkerCardEntity> {

    PageUtils queryPage(Map<String, Object> params);


    /**
     * 根据id，查询登记卡
     */
    WorkerCardEntity queryById(Long workCardId);

    /**
     *
     */
    void create(WorkerEntity workerEntity, SysUserEntity sysUserEntity);


    WorkerCardEntity getlastOne(Long workerId);

    List getWorkerCardIDs(Long workerId);
}

